package com.linkdood.app.dto;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 设置新密码(忘记密码)入参
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ResetPasswordDTO extends PhoneCodeDTO {

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    private String password;

    /**
     * 确认密码
     */
    @NotBlank(message = "确认密码不能为空")
    private String confirmPassword;

}
